package com.tentative.competition.common.constant;

public class ClientConstants {

    public static String CLIENT_COOKIE_CONFIG_KEY = "store.client.cookie";
    public static String CLIENT_REFERER_CONFIG_KEY = "store.client.referer";
    public static String CLIENT_INFO_URL_CONFIG_KEY = "store.my.info.url";

    //1、cookie的_csrf_token值MD5加密，2、页码，3、当页数，4、orderby排序方式，5、排序值，6、时间戳
    public static String CLIENT_GOODS_MANAGE_LIST_URL = "https://offer.1688.com/offer/manage_mini.vm?_csrf_token=%s&show_type=valid&_input_charset=UTF-8&currentPage=%s&pageSize=%s&orderBy=%s&orderType=%s&isFromSearch=true&cateid=&_=%s";

    public static String CLIENT_THIN_GONG_GOODS_LIST_RESULT_PARAM = "jQuery1830841%s_%s";
    public static String CLIENT_GET_WG_OFFER_INFO_PARAM = "jsonp_%s_31208";

    //1、返回的key，3、params分页以及查询参数，4、page页码，5、pageSize当页数，6、tab=new是否可添加的微供列表，7、时间戳
    public static String CLIENT_THIN_GONG_GOODS_LIST_URL = "https://widget.1688.com/front/getJsonComponent.json?callback=%s&namespace=queryDistributionoffers&widgetId=queryDistributionoffers&methodName=execute&params=%s&page=%s&pageSize=%s%s&_=%s";

    //1、offerId，2、返回的key，3、时间戳
    public static String CLIENT_GET_WG_OFFER_INFO_URL = "https://wg.1688.com/manage/ajax/getWgOfferInfo.jsonp?offerId=%s&callback=%s&_=%s";

}
